package com.zhm.langchain4j;

import java.util.concurrent.Callable;

public class Test {

    public static class A {
        public String a;
    }

    public static void main(String[] args) throws Exception {
        A a = new A();
        a.a = "456";
        System.out.println(a);

        Callable<A> callable = () -> {
            a.a += a.a + "q23";
            return a;
        };

        A call = callable.call();
        System.out.println(call);
    }
}
